package com.jason.bookworm.dao.pojo;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("db1_feedback")
public class Feedback {
    @TableId("f_id")
    Integer id;
    @TableField(value = "f_username", insertStrategy = FieldStrategy.NOT_EMPTY)
    String username;
    @TableField(value = "f_content", insertStrategy = FieldStrategy.NOT_EMPTY)
    String content;
    @TableField("f_contact")
    String contact;
    @TableField(value = "f_process_state", insertStrategy = FieldStrategy.NOT_EMPTY)
    Integer processState;
    @TableField(value = "f_status", insertStrategy = FieldStrategy.NOT_EMPTY)
    String status;
    @TableField("f_editor_reply")
    String editorReply;
}
